package com.yantong.utils;

/**
 * redis key
 */
public class RedisKey {
    //秒杀活动销售量-key
    public static String SECKILL_ACTIVITY_SALES_KEY_CACHE = "seckill_activity_sales_key_%s";
    //秒杀活动销售量-total
    public static String SECKILL_ACTIVITY_SALES_TOTAL_CACHE = "seckill_activity_sales_total_%s";

    //秒杀活动，多规格商品销售量-key
    public static String SECKILL_ACTIVITY_SALES_SKU_KEY_CACHE = "seckill_activity_sales_sku_key_%s_%s";
    //秒杀活动，多规格商品销售量-total
    public static String SECKILL_ACTIVITY_SALES_SKU_TOTAL_CACHE = "seckill_activity_sales_sku_total_%s_%s";

    //拼团活动销售量-key
    public static String GROUP_ACTIVITY_SALES_KEY_CACHE = "group_activity_sales_key_%s";
    //拼团活动销售量-total
    public static String GROUP_ACTIVITY_SALES_TOTAL_CACHE = "group_activity_sales_total_%s";

    //拼团活动，多规格商品销售量-key
    public static String GROUP_ACTIVITY_SALES_SKU_KEY_CACHE = "group_activity_sales_sku_key_%s_%s";
    //拼团活动，多规格商品销售量-total
    public static String GROUP_ACTIVITY_SALES_SKU_TOTAL_CACHE = "group_activity_sales_sku_total_%s_%s";

    //大礼包活动total
    public static String GIFT_PACKS_ACTIVITY_SALES_TOTAL_CACHE = "gift_packs_activity_sales_total_cache";

    public static String SECKILL_SKU_CACHE = "seckill_sky_%s_%s";

    public static String GROUP_SKU_CACHE = "group_sky_%s_%s";

    public static String SECKILL_SKU_SALES_CACHE = "seckill_sky_sales_%s_%s";

    public static String GROUP_SKU_SALES_CACHE = "group_sky_sales_%s_%s";

    //微信相关的RedisKey
    public static String WX_GZH_ACCESSTOKEN="wx_gzh_accesstoken";

}
